package struts.ext.util;

import struts.ext.util.converter.AttrFormatter;


public class Bean2ExcelRowConfig {
	
	/**
	 * 对应的列的宽度
	 */
	private int width; 
	
	/**
	 * 列标题
	 */
	private String label;
	
	/**
	 * 转换器
	 */
 	private AttrFormatter converter; 
	
	public Bean2ExcelRowConfig(String label, int width, AttrFormatter converter) {
		super();
		this.label = label;
		this.width = width;
		this.converter = converter;
	}

	public int getWidth() {
		return width;
	}

	public void setWidth(int width) {
		this.width = width;
	}


	public String getLabel() {
		return label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	public AttrFormatter getConverter() {
		return converter;
	}

	public void setConverter(AttrFormatter converter) {
		this.converter = converter;
	}
}
